import React from 'react';
import {PageHeader} from 'antd';
import TweetsList from "../indexMain/tweetsList"
import style from "./index.module.css"


const Favor=(props)=> {
    const {nickname} =JSON.parse(localStorage.getItem('USERDATA'))
    return (
        <div>
            <PageHeader
                className={style.header}
                onBack={() =>{props.history.push('/index')}}
                title={`${nickname}的收藏`}
            />
            <TweetsList type={1}/>
        </div>
    );
}

export default Favor;
